package com.njust.RateMyTray_backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njust.RateMyTray_backend.dto.LoginDTO;
import com.njust.RateMyTray_backend.dto.UserRegisterDTO;
import com.njust.RateMyTray_backend.dto.UserUpdateDTO;
import com.njust.RateMyTray_backend.entity.User;
import com.njust.RateMyTray_backend.vo.LoginVO;
import com.njust.RateMyTray_backend.vo.UserProfileVO;

public interface UserService extends IService<User> {
    User register(UserRegisterDTO userRegisterDTO);

    LoginVO login(LoginDTO loginDTO);

    UserProfileVO getUserProfile(Long userId);

    void updateUserProfile(Long userId, UserUpdateDTO userUpdateDTO);
} 